package iot.core.manager.htcls;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.lang.reflect.Field;

@Data
@Schema(name="HTClsColDto",description = "")
public class HTClsColDto {
    @Schema(name="字段名",description = "" )
    private  String EName="";

    @Schema(name="字段中文名",description = "")
    private  String Name="";

    @Schema(name="字段备注",description = "")
    private  String Memo="";

    @Schema(name="字段类型",description = "")
    private  String LX="";

    @Schema(name="是否List",description = "")
    private  boolean IsList;

    @Schema(name="是否可空",description = "")
    private  boolean IsNullable;

    @Schema(name="是否字符",description = "")
    private  boolean IsStr;

    @Schema(name="是否日期",description = "")
    private  boolean IsDate;

    @Schema(name="是否日期",description = "")
    private  boolean IsNum;

    @Schema(name="是否必须",description = "")
    private  boolean IsRequired;

    @Schema(name="正则表达式验证",description = "")
    private  String Regex="";

    @Schema(name="VMin",description = "")
    private  String VMin="";

    @Schema(name="VMax",description = "")
    private  String VMax="";

    @JsonIgnore
    private Field  Field;

}
